#pragma once

#include <iostream>
#include <string>
#include <vector>
#include <unistd.h>
#include <cassert>
#include <sys/stat.h>
#include <sys/wait.h>

using std::cout;
using std::endl;

typedef void(*task_t)();

void task1()
{
    cout << "你干嘛哈哈哎呦" << endl;
}

void task2()
{
    cout << "你好烦" << endl;
}

void task3()
{
    cout << "哦~呀哈哈!magi!" << endl;
}

void task4()
{
    cout << "食不食油饼！" << endl;
}

void task5()
{
    cout << "梨最好食！" << endl;
}

void Loadtasks(std::vector<task_t>* tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
    tasks->push_back(task5);
}